package mock

import (
	"github.com/gin-gonic/gin"
	"github.com/google/wire"
)

// GroupMemberSet 注入GroupMember
var GroupMemberSet = wire.NewSet(wire.Struct(new(GroupMember), "*"))

// GroupMember 群成员
type GroupMember struct {
}

// Query 查询数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 查询数据
// @Param current query int true "分页索引" default(1)
// @Param pageSize query int true "分页大小" default(10)
// @Param group_id query string false "群ID"
// @Param user_id query string false "用户ID"
// @Param recite_day query int false "群内背诵天数"
// @Param status query int false "群内用户状态(1:正常 2:罚款)"
// @Param creator query string false "创建者"
// @Success 200 {array} schema.UserInfo "查询结果：{list:列表数据,pagination:{current:页索引,pageSize:页大小,total:总数量}}"
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members [get]
func (a *GroupMember) Query(c *gin.Context) {
}

// Get 查询指定数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 查询指定数据
// @Param id path string true "唯一标识"
// @Success 200 {object} schema.GroupMember
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 404 {object} schema.ErrorResult "{error:{code:0,message:资源不存在}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members/{id} [get]
func (a *GroupMember) Get(c *gin.Context) {
}

// Create 创建数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 创建数据
// @Param body body schema.GroupMember true "创建数据"
// @Success 200 {object} schema.IDResult
// @Failure 400 {object} schema.ErrorResult "{error:{code:0,message:无效的请求参数}}"
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members [post]
func (a *GroupMember) Create(c *gin.Context) {
}

// Update 更新数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 更新数据
// @Param id path string true "唯一标识"
// @Param body body schema.GroupMember true "更新数据"
// @Success 200 {object} schema.StatusResult "{status:OK}"
// @Failure 400 {object} schema.ErrorResult "{error:{code:0,message:无效的请求参数}}"
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members/{id} [put]
func (a *GroupMember) Update(c *gin.Context) {
}

// Delete 删除数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 删除数据
// @Param id path string true "唯一标识"
// @Success 200 {object} schema.StatusResult "{status:OK}"
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members/{id} [delete]
func (a *GroupMember) Delete(c *gin.Context) {
}

// Enable 启用数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 启用数据
// @Param id path string true "唯一标识"
// @Success 200 {object} schema.StatusResult "{status:OK}"
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members/{id}/enable [patch]
func (a *GroupMember) Enable(c *gin.Context) {
}

// Disable 禁用数据
// @Tags 群成员
// @Security ApiKeyAuth
// @Summary 禁用数据
// @Param id path string true "唯一标识"
// @Success 200 {object} schema.StatusResult "{status:OK}"
// @Failure 401 {object} schema.ErrorResult "{error:{code:0,message:未授权}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/group_members/{id}/disable [patch]
func (a *GroupMember) Disable(c *gin.Context) {
}
